<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org"
      xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <meta charset="UTF-8">
    <title>Spring Security Example</title>
</head>
<body>
<p>验证访问</p>
<a th:href="@{/access/user}">验证zs</a><br>
<a th:href="@{/access/read}">验证lisi</a><br>
<a th:href="@{/access/admin}">验证admin</a><br>
<form th:action="@{/logout}" method="post">
    <input type="submit" value="登出">
</form>

</body>
</html>